package com.tycom.simpleapp.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.tycom.simpleapp.dataaccess.UserRepository;
import com.tycom.simpleapp.model.Users;

@Component
public class UserServiceImpl implements UserService {
	@Autowired
	UserRepository userRepository;
	
	@Override
	public void save(Users user) {
		userRepository.save(user);
	}
}
